set checkoutRemoteBranch=master

echo Remote branch name entered=%checkoutRemoteBranch%

set work_path=%~dp0
cd /d %work_path%
cd ../
set work_path_target=%cd%


echo ====Unsubmitted requests need to be processed before detection!!! Otherwise, it cannot be detected!!!====




for /d %%s in (%work_path_target%\*) do (
cd %%s
echo Check out branches %% %%s %% %checkoutRemoteBranch%
git checkout %checkoutRemoteBranch%

)



timeout /t 2 >nul
echo ok...


